package co.gov.medellin.ssti.sub.model.service.impl;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import co.gov.medellin.ssti.sub.model.dao.InterfazMELDAO;
import co.gov.medellin.ssti.sub.model.dao.exception.DAOException;
import co.gov.medellin.ssti.sub.model.service.InterfazMELService;
import co.gov.medellin.ssti.sub.model.vo.BeneficiarioVO;
import co.gov.medellin.ssti.sub.model.vo.InterfazMELVO;

@Service
public class InterfazMELServiceImpl implements InterfazMELService {
	@Autowired
	InterfazMELDAO interfazMELDAOImpl2;

	@Override
	public Collection<InterfazMELVO> findCamposGenericos(BeneficiarioVO bene)
			throws DAOException {
		try {
			return interfazMELDAOImpl2.findCamposGenericos(bene);
		} catch (Exception e) {
			throw new DAOException(e);
		}
	}

}
